package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.exception.CheckItemException;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * @version V1.0
 * @author: ljx
 * @date: 2020/01/09 20:44
 * @description:
 */
public interface CheckItemService {
    void add(CheckItem checkItem);

    PageResult findPage(QueryPageBean pageBean);

    Result update(CheckItem item);

    Result delete(String id) throws CheckItemException;

    List<CheckItem> findAllCheckItem();

}
